#ifndef ROCK_H
#define ROCK_H

#include "movingunit.h"

class Rock : public MovingUnit
{
public:
    Rock();
    Rock(QRect &geometry);

    int getType() const;

    void init();
    void loadPixmaps();
    void draw(QPainter *painter);
    void advance();
    void serializeDebug(QDebug &dbg);
    void serializeIn(QDataStream &in);
    void serializeOut(QDataStream &out);

};

#endif // ROCK_H
